package com.wewins.fota.common.constant;

public interface AuthConst {
    String HTTP_HEADER_KEY_AUTHENTICATION = "Authentication";
    String REDIS_HASH_AUTH_TOKEN = "fota:auth:token:*";
    String REDIS_HASH_AUTH_TOKEN_VALUE = "fota:auth:token:%s:value";
    String REDIS_HASH_AUTH_TOKEN_SIGN = "fota:auth:token:%s:sign";

    String MSG_FAIL_INVALID_AUTH_INFO = "INVALID_AUTH_INFO";
    String MSG_FAIL_INVALID_USER_QUERY = "DIFFERENCE_TOKEN_IN_PARAM_AND_HEADER";
    String MSG_FAIL_SIGNATURE_ERROR = "SIGNATURE_ERROR";
    String MSG_FAIL_TOKEN_EXPIRED = "TOKEN_EXPIRED";
    String MSG_FAIL_UNAUTHORIZED = "UNAUTHORIZED";
}
